package com.lee.www.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lee.www.entity.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {
//    @Select("select * from permission where pid=#{pid}")
//    List<Permission> selectByPid(Long pid);

//    @Select("select * from permission where  id = #{id} and pid = #{pid}")
//    List<Permission> selectByIdAndPid(Long id, Long pid);

}
